package cn.edu.xmu.orderpayment.payment.microservice.returnobj;

import cn.edu.xmu.orderpayment.payment.microservice.alipayvo.*;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Yujie Lin
 * @date 2021/12/12 18:57
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AliPayReturnObject {
    @JsonProperty("alipay_trade_wap_pay_response")
    private AliPayPayRetVo payRetVo;

    @JsonProperty("alipay_trade_query_response")
    private AliPayPayQueryRetVo payQueryRetVo;

    @JsonProperty("alipay_trade_close_response")
    private AliPayCloseRetVo closeRetVo;

    @JsonProperty("alipay_trade_refund_response")
    private AliPayRefundRetVo refundRetVo;

    @JsonProperty("alipay_trade_fastpay_refund_query_response")
    private AliPayRefundQueryRetVo refundQueryRetVo;

    @JsonProperty("alipay_data_dataservice_bill_downloadurl_query_response")
    private AliPayDownloadUrlQueryRetVo downloadUrlQueryRetVo;

    private String sign;
}
